<?php /* Smarty version Smarty-3.0.7, created on 2011-04-20 10:04:33
         compiled from "templates/view_incident.tpl" */ ?>
<?php /*%%SmartyHeaderCode:259594daee7f185c565-24737358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3a572c0a7d2f8abcfbc2697db45b0257ef342e2a' => 
    array (
      0 => 'templates/view_incident.tpl',
      1 => 1303308193,
      2 => 'file',
    ),
    'ecff8edd62bc4456f3a30265ebea0944033bcac7' => 
    array (
      0 => '.\\templates\\layout.tpl',
      1 => 1302701340,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '259594daee7f185c565-24737358',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="/nitpicker/static/css/css_main.css" />
  <script src="/nitpicker/static/js/jquery.js"></script>
  <script src="/nitpicker/static/js/nitpicker.js"></script>
  <title>My Page Title</title>
</head>
<body>

<h1> <a href="/nitpicker/"> The Nitpicker </a></h1>
<div id= "log_in_log_out">  <a href= "/nitpicker/user_nits.php"> View Your Nits! </a> <?php if ($_smarty_tpl->getVariable('is_logged_in')->value){?> <a href="log_out.php"> Log Out! </a> <?php }else{ ?> <a href="log_in.php"> Log In! </a> <?php }?> </div>


<h2> <?php echo $_smarty_tpl->getVariable('incident')->value["incident_title"];?>
 </h2>
<?php $_smarty_tpl->tpl_vars['category_id'] = new Smarty_variable($_smarty_tpl->getVariable('incident')->value['category_id'], null, null);?>
<div id= "incident_header"><div><label> Category: </label> <?php echo $_smarty_tpl->getVariable('categories')->value[$_smarty_tpl->getVariable('category_id')->value];?>
 </div>
<div><label> Date Created: </label><?php echo $_smarty_tpl->getVariable('incident')->value["created"];?>
</div>
<div><label> Rating: </label><?php echo $_smarty_tpl->getVariable('rating')->value;?>
</div>
<div><label> Description: </label><?php echo $_smarty_tpl->getVariable('incident')->value["incident_descr"];?>
</div>
<?php $_smarty_tpl->tpl_vars['initial_rating'] = new Smarty_variable($_smarty_tpl->getVariable('incident')->value['initial_rating'], null, null);?>
<div><label> Initial Rating: </label> <?php echo $_smarty_tpl->getVariable('ratings')->value[$_smarty_tpl->getVariable('initial_rating')->value];?>
</div></div>

	<div><input id = "claim_incident" type="submit" value="Clamp!" /></div>



</body>
</html>